<?php echo $this->Html->css('form'); ?>
<div class="contentMain">
<div class="grayBox">
<div class="form_wrapper">
    <div class="title"><?=$user['User']['name']?></div>
    <ul class="editBox">
        <li>
            <span class="titleName"><label>Name</label></span>
            <?=$user['User']['name']?>
        </li>
        <li>
            <label class="titleName">Email</label>
            <span class="ans">
            <?=$this->data['User']['username'];?></span>
        </li>
        
        <li>
            <label class="titleName">Gender</label>
            <?=$user['User']['gender']?>
        </li>
        <li>
            <label class="titleName">Birthday</label>
            <?=$user['User']['birthday']?>
        </li>
        <li>
            <label class="titleName">Avatar</label>
            <span class="ans">
                <span>
                    <?=$html->image($thumb->image($this->data['User']['avatar']),array(
                        'id' => 'showAvatar',
                        'style' => 'width:195px;margin:15px 240px'));?>
                </span>
            </span>
        </li>
    </ul>       
    <?
        if(!$facebook_user)
        {
        ?>
            <input type="submit" value="Change your password" onclick="window.location='<?=$this->webroot?>/users/edit_password'">
            </input>
        <?
        }
    ?>
</div>
</div>
</div>
